<template>
  <div>
      <div :style="{'background-color':editcolor,'height':'32px','width':'220px','display':'inline-block'}"></div>
       <el-color-picker v-model=" editcolor" show-alpha>
          </el-color-picker>
      </div>
</template>

<script>
export default {
  props: {
      params: { type: Object },
  },
  data() {
      return {
          editcolor: this.params.editcolor,
      };
  },
  watch: {},
  beforeCreate() {},
  created() {},
  beforeMount() {},
  mounted() {},
  activated() {},
  deactivated() {},
  beforeUpdate() {},
  updated() {},
  beforeDestroy() {},
  destroyed() {},
  methods: {},
  computed: {},
};
</script>
<style scoped>
</style>
